/// <summary>
/// 货到付款支付策略
/// </summary>
public class CashOnDeliveryStrategy : IPaymentStrategy
{
  public void Pay(decimal amount)
  {
    Console.WriteLine($"货到付款，金额 {amount:C}，将在收货时支付");
  }
}